/** 登录表单数据 */
export interface LoginFormData {
  /** 用户名 */
  username: string
  /** 密码 */
  password: string
}

export interface RegisterFormData {
  username: string
  password: string
  confirmPassword: string
  realName: string
  phone: string
}

export interface User extends PageQuery {
  id?: number
  username: string
  realName: string
  avatar?: string
  phone: string
  organization: string
}

export interface TokenInfo {
  tokenName: string
  tokenValue: string
  isLogin: string
  loginId: string
  loginType: string
  tokenTimeout: number
  sessionTimeout: number
  tokenSessionTimeout: number
  tokenActiveTimeout: number
  loginDevice: string
  tag: string
}
